package com.dk.service;

import com.dk.pojo.SysAutoCodePart;
import com.dk.pojo.SysAutoCodePartExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PartService {
    List<SysAutoCodePart> getpart();

    void insertpart(SysAutoCodePart part);

    void deleteById(Long id);

    void deleteAllPart(List<String> ids);

    void updatepart(SysAutoCodePart part);

    List<SysAutoCodePart> selectByRuleId(@Param("ruleId") Long ruleId);

    String selectByPartTypeAndRuleId(@Param("partType") String partType, @Param("ruleId") Long ruleId);

}
